<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>过渡效果</title>
		<style type="text/css">
			*{
				margin: 50px;
			}
			#d1{
				width: 100px;
				height: 100px;
				background-color: orange;
				/* 过渡效果 */
				/* transition: all 3s 2s ; */
				transition-property: all;
				transition-duration: 3s;
				transition-delay: 2s;
				transition-timing-function: cubic-bezier(0.47, 0, 0.745, 0.715);
			}
			#d1:hover{
				width: 800px;
			}
			#d2{
				width: 100px;
				height: 100px;
				background-color: orange;
				/* 过渡效果 */
				transition: all 3s ease;
			}
			#d2:hover{
				width: 800px;
			}
			#d3{
				width: 100px;
				height: 100px;
				background-color: orange;
				/* 过渡效果 */
				transition: all 3s ease-in ;
			}
			#d3:hover{
				width: 800px;
			}
			#d4{
				width: 100px;
				height: 100px;
				background-color: orange;
				/* 过渡效果 */
				transition: all 3s ease-in-out ;
			}
			#d4:hover{
				width: 800px;
			}
			#d5{
				width: 100px;
				height: 100px;
				background-color: orange;
				/* 过渡效果 */
				transition: all 3s ease-out ;
			}
			#d5:hover{
				width: 800px;
			}
		</style>
	</head>
	<body>
		<div id="d1">
			
		</div>
		<div id="d2">
			
		</div>
		<div id="d3">
			
		</div>
		<div id="d4">
			
		</div>
		<div id="d5">
			
		</div>
	</body>
</html>